<template>
    <div>
        <div class="section">
            <div class="swiper-container"
                 ref="slider">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="./fixtures/covers/1.svg"/>
                    </div>
                    <div class="swiper-slide">
                        <img src="./fixtures/covers/2.svg"/>
                    </div>
                    <div class="swiper-slide">
                        <img src="./fixtures/covers/3.svg"/>
                    </div>
                    <div class="swiper-slide">
                        <img src="./fixtures/covers/4.svg"/>
                    </div>
                    <div class="swiper-slide">
                        <img src="./fixtures/covers/5.svg"/>
                    </div>
                    <div class="swiper-slide">
                        <img src="./fixtures/covers/6.svg"/>
                    </div>
                </div>
                <div class="swiper-pagination" ref="pagination">

                </div>
            </div>
        </div>
        <div class="section">
            <div class="section">
            </div>
        </div>
    </div>
</template>
<script type="text/ecmascript-6">
    import Swiper from "swiper"
    import 'swiper/dist/css/swiper.css'

    export default{
        mounted(){
            new Swiper(this.$refs.slider, {
                pagination: this.$refs.pagination,
                paginationClickable: true,
                spaceBetween: 30,
                centeredSlides: true,
                autoplay: 2500,
                autoplayDisableOnInteraction: false
            })
        }
    }
</script>
<style>
    
</style>
